package cn.tedu.backend.portal.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_activity")
public class UserActivity {
    @TableId(value = "useractivity_id", type = IdType.AUTO)
    private Integer userActivityId;

    @TableField("user_id")
    private String userId;

    @TableField("activity_id")
    private Integer activityId;

    @TableField("sign_in")
    private Integer signIn;
}
